# -*- coding=utf-8 -*-

import urllib.request
import time
url='http://preprdnj.88gongxiang.com/user/api/v1/common/login?mobile=18521331713&code=123456'

for count in range(1,1001):
    opener = urllib.request.urlopen(url)

    opener_read = opener.read()

    # unicode-escape

    print("时间:"+time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())+"count"+str(count)+"次，访问结果："+opener_read.decode("utf-8"))
